<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <base href="<%=basePath%>">
    <meta charset="utf-8" />
    <title>还款详情</title>

    <%-- <link href="static/css/bootstrap.min.css" rel="stylesheet" />--%>
    <link href="static/mycss/bootstrap.min.css" rel="stylesheet" />
    <script src='static/js/jquery-1.9.1.min.js'></script>
    <script type="text/javascript">
        $(top.hangge());
    </script>
    <style>
        .divcss5{width:150px;height:30px;} 
    </style>
</head>
<body>
<form name="signUpForm" class="form-horizontal m-t" id="commentForm" novalidate="novalidate">
    <table style="margin-left: 40px;font-size:14px;width:350px" class="table table-striped table-bordered table-hover dataTables-example">
        <thead>
        <tr height="35px" align="center">
            <td width="45%">还款时间</td>
            <td width="27.5%">还款金额</td>
            <td width="27.5%">核销金额</td>
        </tr>
        </thead>
        <tbody>

        <c:forEach var="repayRecord" varStatus="var" items="${huankuanlist}">

            <tr align="center" height="40px" >
                <td>
                    <jsp:useBean id="dateValue" class="java.util.Date"/>
                    <jsp:setProperty name="dateValue" property="time" value="${repayRecord.recoverTime}"/>
                    <fmt:formatDate value="${dateValue}" pattern="yyyy-MM-dd HH:mm:ss"/>
                </td>

                <td>
                   ${repayRecord.partAcountyet}
                </td>
                <td>
                   ${repayRecord.hexiaoAcount}
                </td>
            </tr>
        </c:forEach>
        </tbody>
        <tfoot>
        <tr style="background-color: rgb(26,179,148);color: #fff;">
            <th >合计</th>
            <th colspan="2"> <fmt:formatNumber value="${sum - userReduOverdueFee-faxituihui}" pattern="#,#00.00#"/>(减免${userReduOverdueFee+faxituihui}) </th>
        </tr>
        </tfoot>
    </table>
</form>
</body>
</html>